package com.wunu.smartlock1.bluetooth.command

/**
 * Created by peiwei on 2018/4/20.
 */
public interface IComand {
    // 头部字节 标识
    var header: Byte
        get
    // 携带的数据
    fun payload(): ByteArray
    // 解析数据
    fun decode(byteArray: ByteArray): Map<String, Any>
}
